package cn.yetong.infrastructure.persistent.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
/*
*
* 奖品信息描述*/
public class Award {

    private Long  id;
    private Integer  awardId;
    private String  awardKey;
    private String  awardConfig;
    private String  awardDesc;
    private Date createTime;
    private Date  updateTime;
}
//CREATE TABLE `award` (
//        `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID',
//        `award_id` int(8) NOT NULL COMMENT '抽奖奖品ID-内部流转使用',
//        `award_key` varchar(32) NOT NULL COMMENT '奖品对接标识-每一个都是一个对应的发奖策略',
//        `award_config` varchar(32) NOT NULL COMMENT '奖品配置信息',
//        `award_desc` varchar(128) NOT NULL COMMENT  '奖品内容描述',
//        `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
//        `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
//PRIMARY KEY (`id`)
//        )ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
